

class DataListModel {
  String name = "";
  String detailText = "";
  DataListModel init(item) {
    if (item["name"] != null) {
      name = item["name"];
    }
    if (item["detailText"] != null) {
      detailText = item["detailText"];
    }
    return this;
  }
}